﻿<div class="Window">
<h3 data-bind="text: Application.Resources.Views.Dfnw.Dialogs.Stornieren">Massnahme</h3>
    <div class="one-in-row">
        <h4 data-bind="text: massnahme.MassnahmeText"></h4>
        <div class="select-options" data-bind="foreach: stornoGrunde">
            <input type="radio" name="StornoGrundeID" data-bind="attr: { value: $data, id: 'StornoGrundeID' + $index() }, checked: $root.selectedStornoGrund, event: { change: $root.stornoGrundChange.bind($data, $root) }" data-role="none" />
            <label class="tap-space spanBr" data-bind="attr: { for: 'StornoGrundeID' + $index() }, text: $data">Other</label>
        </div>
    </div>
    <h4 data-bind="text: Application.Resources.Views.Dfnw.Grund">Grund:</h4>
    <textarea class="border-brown" data-bind="value: stornoGrundText, valueUpdate: 'keyup'"></textarea>
    <div class="footer">
        <button class="textButton" data-bind="click: stornoConfirm.bind($data, $root), text: Application.Resources.Views.Dfnw.Buttons.Ubernehmen, enable: stornoGrundText, css: { 'buttonInactive': !stornoGrundText }">Übernehmen</button>
    </div>
</div>